{% extends "user/user_base.html" %}
{% block title %}
    <title>用户正在被审核中的任务</title>
{% endblock %}
{% block user_functions %}
                                                            <div class="cs-profile-area">
                                                                <div class="cs-title no-border">
                                                                    <h4>
                                                                        {{ state }}的任务
                                                                    </h4>
                                                                </div>
                                                                <div class="cs-profile-holder">
                                                                    <div class="cs-table-holder">
                                                                        <table>
                                                                            <thead>
                                                                                <tr>
                                                                                    <th>
                                                                                        #
                                                                                    </th>
                                                                                    <th>
                                                                                        任务标题
                                                                                    </th>
                                                                                    <th>
                                                                                        提交日期
                                                                                    </th>
                                                                                    <th>
                                                                                        任务类型
                                                                                    </th>
                                                                                    <th>
                                                                                        发起人
                                                                                    </th>
                                                                                </tr>
                                                                            </thead>
                                                                            {% for i in args %}
                                                                                <tbody>
                                                                                    <tr>
                                                                                        <td>
                                                                                            {{ loop.index }}
                                                                                        </td>
                                                                                        <td>
                                                                                            <a href="/function_unpublished/{{ i.function_id }}">{{ i.function_title }}</a>
                                                                                        </td>
                                                                                        <td>
                                                                                            {{ i.create_at | string |truncate(10, True, '') }}
                                                                                        </td>
                                                                                        <td>
                                                                                            {{ i.function_type }}
                                                                                        </td>
                                                                                        <td>
                                                                                            {{ i.user_name }}
                                                                                        </td>
                                                                                    </tr>
                                                                                </tbody>
                                                                            {% endfor %}
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            {% endblock %}